home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
devel
/
gencodec
/
source
/
hook_utility.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-01-01
|
431b
|
18 lines
/* Prototypes for Hook_Utility */
#include <utility/hooks.h>
/* prototype for C_Function
a0 points to a struct hook.
See MUI AutoDocs in order to know what registers (a2,a1) point.
*/
typedef APTR (*proto_c_function)(struct Hook *a0,APTR a2,APTR a1);
/*
Don't forget to allocate the struct Hook.
Data is the h_Data field of the struct Hook.
*/
void InstallHook(struct Hook *hook, proto_c_function c_function, APTR Data);